﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" Title="WebOto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link href="Thumnail.css" rel="stylesheet" type="text/css" />
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    <table style="padding: 0px; margin: 0px; width: 750;">
        <tbody>
            <tr>
                <td colspan="1" style="height: 99px;width:750">
                    <%--<marquee height="92" direction="right" scrollamount="1" scrolldelay="5" truespeed="truespeed"
                        onmouseover="this.stop()" onmouseout="this.start()">  --%>
                            <img alt="" src="Pictures/Banners/banner02.JPG" 
                                style="height: 92px" />
                     <%--</marquee>--%>
                </td>
            </tr>
        </tbody>
    </table>
    <table cellpadding="0px" cellspacing="0px" class="tittle">
        <tr>
            <td style="width: 224px; background-image: url(Pictures/TittleBar/left_title.jpg);
                background-repeat: no-repeat;">
                <div style="margin-left: 30px; color: White; font-weight: bold; font-size: small;
                    font-family: tahoma;">
                    SẢN PHẨM MỚI</div>
            </td>
            <td style="width: 520px; background-image: url('Pictures/TittleBar/bg_title.jpg');
                background-repeat: repeat-x;">
            </td>
            <td style="width: 7; background-image: url('Pictures/TittleBar/right_title.jpg');
                background-repeat: no-repeat;">
            </td>
        </tr>
    </table>
    <div align="center" style="width: 750px; margin-top: 15px; float: left;" class="border">
        <asp:DataList ID="DataList1" runat="server" CellPadding="0" RepeatColumns="4" 
            RepeatDirection="Horizontal">
            <ItemTemplate>
                <div align="center" class="size">
                    <asp:ImageButton ID="btn_ProductImage1" CssClass="sizepic" runat="server" ImageAlign="Middle"
                        OnClick="btn_ProductImage_Click" CommandArgument='<%# Eval("MaXe") %>' ImageUrl='<%# Eval("Image","Pictures/SmallImage/{0}.jpg") %>' />
                    <div align="center">
                        <asp:Label ID="Name1" runat="server" Font-Bold="True" ForeColor="Red" Text='<%# Eval("TenXe") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Màu xe :
                        <asp:Label ID="Color1" runat="server" Text='<%# Eval("NgoaiThat") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Mã xe :
                        <asp:Label ID="Code1" runat="server" Text='<%# Eval("MaXe") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Năm sản xuất :
                        <asp:Label ID="Year1" runat="server" Text='<%# Eval("NamSX") %>'></asp:Label>
                    </div>
                </div>
                <div align="center" style="margin-bottom: 10px;">
                    <asp:ImageButton ID="btn_CartAdd1" runat="server" ImageUrl="Pictures/buynow.gif"
                        OnClick="btn_CartAdd_Click" Width="99" Height="32" CommandArgument='<%# Eval("MaXe") %>' />
                </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <table cellpadding="0px" cellspacing="0px" class="tittle">
        <tr>
            <td style="width: 224px; background-image: url(Pictures/TittleBar/left_title.jpg);
                background-repeat: no-repeat;">
                <div style="margin-left: 30px; color: White; font-weight: bold; font-size: small;
                    font-family: tahoma;">
                    SẢN PHẨM BÁN CHẠY</div>
            </td>
            <td style="width: 520px; background-image: url('Pictures/TittleBar/bg_title.jpg');
                background-repeat: repeat-x;">
            </td>
            <td style="width: 7; background-image: url('Pictures/TittleBar/right_title.jpg');
                background-repeat: no-repeat;">
            </td>
        </tr>
    </table>
    <div align="center" style="width: 750px; margin-top: 15px; float: left;" class="border">
        <asp:DataList ID="DataList2" runat="server" RepeatColumns="4" 
            RepeatDirection="Horizontal">
            <ItemTemplate>
                <div align="center" class="size">
                    <div align="center">
                        <asp:ImageButton ID="btn_ProductImage2" runat="server" ImageAlign="Middle" Height="115px"
                            Width="165px" OnClick="btn_ProductImage_Click" CommandArgument='<%# Eval("MaXe") %>'
                            ImageUrl='<%# Eval("Image","Pictures/SmallImage/{0}.jpg") %>' /><br />
                        <asp:Label ID="Name1" runat="server" Font-Bold="True" ForeColor="Red" Text='<%# Eval("TenXe") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Màu xe :
                        <asp:Label ID="Color1" runat="server" Text='<%# Eval("NgoaiThat") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Mã xe :
                        <asp:Label ID="Code1" runat="server" Text='<%# Eval("MaXe") %>'></asp:Label>
                    </div>
                    <div align="center">
                        Năm sản xuất :
                        <asp:Label ID="Year1" runat="server" Text='<%# Eval("NamSX") %>'></asp:Label>
                    </div>
                </div>
                <div align="center" style="margin-bottom: 10px;">
                    <asp:ImageButton ID="btn_CartAdd2" runat="server" ImageUrl="Pictures/buynow.gif"
                        OnClick="btn_CartAdd_Click" CommandArgument='<%# Eval("MaXe") %>' Width="99"
                        Height="32" />
                </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
